package com.zhuxiang.test2;

/**
 *套餐抽象类
 */
public abstract class PhonePlans {
    //每月资费
    private int rate;

    public int getRate() {
        return rate;
    }

    public void setRate(int rate) {
        this.rate = rate;
    }

    public void show(){
        System.out.println("每月资费："+getRate());
    }
}
